<template>
  <div class="my_header">
    <router-link tag="div" class="mine" to="/mine">
        <i class="icon-mine"></i>
      </router-link>
    <h1 class="text">Music Player</h1>
    <router-link tag="div" class="search" to="/search">
      <i class="icon-search"></i>
    </router-link>
  </div>
</template>

<script>
export default {}
</script>

<style lang="stylus" scoped>
@import '../../common/stylus/variable';

.my_header {
  position: relative;
  height: 44px;
  text-align: center;
  color: $color-theme;
  font-size: 0;

  .mine {
    position: absolute;
    top: 0;
    left: 0;

    .icon-mine {
      display: block;
      padding: 12px;
      font-size: 20px;
      color: $color-theme;
    }
  }

  .text {
    display: inline-block;
    vertical-align: top;
    line-height: 44px;
    font-size: $font-size-large;
  }

  .search {
    position: absolute;
    top: 0;
    right: 0;

    .icon-search {
      display: block;
      padding: 12px;
      font-size: 20px;
      color: $color-theme;
    }
  }
}
</style>
